<?php

namespace App\Controllers;

use App\Services\AccessService;
use Illuminate\Http\Request;

/**
 * 操作管理类
 */
class AccessController extends BaseController
{
    public function accessList(Request $request)
    {
        $params = $this->validate($request,[
            'menu_id'=>'required'
        ]);
        return AccessService::accessList($params['menu_id']);
    }
}
